package com.xiyou.luckdraw.api.dto.answer;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: AnswerBankDto
 * @Description:
 * @author: limingxing
 * @Date: 2019-10-09 15:25
 */
@Data
@ApiModel("答题库dto")
public class AnswerBankDto implements Serializable {
    @ApiModelProperty(value="id")
    private Integer id;
    @ApiModelProperty(value="题目")
    private String answerTitle;

    @ApiModelProperty(value="答案:A")
    @JsonProperty(value = "A")
    private String A;

    @ApiModelProperty(value="答案:B")
    @JsonProperty(value = "B")
    private String B;

    @ApiModelProperty(value="答案:C")
    @JsonProperty(value = "C")
    private String C;

    @ApiModelProperty(value="答案:D")
    @JsonProperty(value = "D")
    private String D;

    @ApiModelProperty(value="答案:E")
    @JsonProperty(value = "E")
    private String E;

    @ApiModelProperty(value="正确答案(当前只支持单选)")
    private Long correctAnswer;

    @ApiModelProperty(value="0：默认 1:启用,2：弃用")
    private Long status;
    @ApiModelProperty(value="用户id")
    private Long userId;
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    @ApiModelProperty(value="更新时间")
    private Date modifyTime;

    @ApiModelProperty(value="答题等级 0：默认,1:难,2...")
    private Long level;

}
